package com.unpor.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;


/**
 * 网页端的  统一拦截器
 * Created by benhailong on 2017/11/5.
 */
public class WebInterceptor implements Interceptor {

    public void intercept(Invocation invocation) {
        System.out.println("web端统一拦截器...");
        invocation.invoke();// 非常重要。一定要调用
    }
}
